﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LatteCoffee.coffeemodel
{
    public class saveDeviceMatter
    {
        public string matterStatusJson { get; set; }
        public string deviceStatusJson { get; set; }
        public string deviceId { get; set; } = "2";
    }
    public class CoffeeMatters
    {
        private static CoffeeMatters instance;
        private CoffeeMatters() { }

        public static CoffeeMatters Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new CoffeeMatters();
                }
                return instance;
            }
        }
        /// <summary>
        /// 咖啡冰
        /// </summary>
        public int CoffeMatter1 { get; set; } = 0;
        /// <summary>
        /// 咖啡水
        /// </summary>
        public int CoffeMatter2 { get; set; } = 1;
        /// <summary>
        /// 咖啡4oz
        /// </summary>
        public int CoffeMatter3 { get; set; } = 0;
        /// <summary>
        /// 咖啡8oz
        /// </summary>
        public int CoffeMatter4 { get; set; } = 0;
        /// <summary>
        /// 咖啡12oz
        /// </summary>
        public int CoffeMatter5 { get; set; } = 0;
        /// <summary>
        /// 咖啡白砂糖
        /// </summary>
        public int CoffeMatter6 { get; set; } = 0;
        /// <summary>
        /// 咖啡方糖
        /// </summary>
        public int CoffeMatter7 { get; set; } = 0;
        /// <summary>
        /// 咖啡黄糖
        /// </summary>
        public int CoffeMatter8 { get; set; } = 0;
        /// <summary>
        /// 咖啡人工代糖
        /// </summary>
        public int CoffeMatter9 { get; set; } = 0;
        /// <summary>
        /// 咖啡咖啡豆1
        /// </summary>
        public int CoffeMatter11 { get; set; } = 1;
        /// <summary>
        /// 咖啡咖啡豆2
        /// </summary>
        public int CoffeMatter13 { get; set; } = 0;
        /// <summary>
        /// 咖啡奶1
        /// </summary>
        public int CoffeMatter10 { get; set; } = 1;
        /// <summary>
        /// 咖啡奶2
        /// </summary>
        public int CoffeMatter12 { get; set; } = 0;
    }
    public class deviceStatus
    {
        private static deviceStatus instance;
        private deviceStatus() { }

        public static deviceStatus Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new deviceStatus();
                }
                return instance;
            }
        }
        public int deviceStatus1 { get; set; } = 1;
        public int deviceStatus2 { get; set; } = 1;
        public int deviceStatus3 { get; set; } = 1;
        public int deviceStatus4 { get; set; } = 1;
        public int lhStatus { get; set; } = 1;
    }
}
